package com.finance.system.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 组的信息表，成员的集合
 * </p>
 *
 * @author whdong
 * @since 2019-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tbl_group")
@ApiModel(value="GroupEntity对象", description="组的信息表，成员的集合")
public class GroupEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String groupName;

    @ApiModelProperty(value = "创建者或者叫拥有者，引用userId")
    private Long creater;

    private LocalDateTime createAt;

    private String description;

    @ApiModelProperty(value = "组类型")
    private String groupType;

    @ApiModelProperty(value = "图标")
    private String icon;


}
